﻿using B.S.PrimaryProject.ErrorCode;
using B.S.PrimaryProject.API.Dtos;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.PrimaryProject.API.Applications.Commands.Users
{
    public class LoginCommand:IRequest<APIResult<UserDto>>
    {

       /// <summary>
       /// 用户名
       /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>

    }
}
